home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Apple Guide / Engineering / APISample / APISampleMPW / TDocument / GlobalizeTDocument next >
Encoding:
Text File  |  1992-01-27  |  945 b   |  22 lines  |  [TEXT/MPS ]

  1. #
  2. #    GlobalizeTDocument
  3. #
  4. #    Executing this script will copy the result files of the TDocument class
  5. #    to the MPW C++ libraries and includes folders. Once there, the TDocument
  6. #    class can be included for use by other code.
  7. #
  8. #    Therefore, don't execute this script unless you are satisfied that any
  9. #    changes you may have made to the source code are exactly as you want them.
  10. #
  11. #    Of course, you can always copy these files using the finder by dragging
  12. #    each to its appropriate place. This script is only meant to be a convenience.
  13.  
  14. #    Copy the TDocument header file to the C++ Includes folder
  15.         Duplicate 'TDocument.h' "{CPlusIncludes}"TDocument.h
  16.     
  17. #    Copy the TDocument library to the C++ Libraries folder
  18.         Duplicate 'TDocument.o' "{CPlusLibraries}"TDocument.o
  19.         
  20. #    By the way, if you wish to always overwrite any previously existing copies
  21. #    of these files in the C++ Libraries and Includes folders, use the -y option
  22. #    in the duplicate command.